﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="实验八第一题._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>无标题页</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                <p>姓名：<asp:TextBox runat="server" ID="txtName"></asp:TextBox></p>
                <p>密码：<asp:TextBox runat="server" ID="txtPassword" TextMode="Password"></asp:TextBox></p>
                <p>性别：<asp:RadioButton runat="server" ID="rdoMale" GroupName="sexGroup" Text="男" Checked="True"/><asp:RadioButton runat="server" ID="rdoFemale" GroupName="sexGroup" Text="女" Checked="False"/></p>
                <p>职业：<asp:DropDownList runat="server" ID="dplJob">
                          <asp:ListItem runat="server">教师</asp:ListItem>
                          <asp:ListItem runat="server">学生</asp:ListItem>
                          <asp:ListItem runat="server">工人</asp:ListItem>
                          <asp:ListItem runat="server">农民</asp:ListItem>
                      </asp:DropDownList></p>
                <p>爱好：<asp:CheckBox runat="server" ID="chkReading" Text="阅读"/>&nbsp;
                    <asp:CheckBox runat="server" ID="chkSing" Text="唱歌"/>&nbsp;
                    <asp:CheckBox runat="server" ID="chkDance" Text="跳舞"/></p>
                <p>个人简介：</p>
                <p><asp:TextBox runat="server" ID="txtResume" Height="100px" Width="400px" TextMode="MultiLine"></asp:TextBox></p>
                <p><asp:Label runat="server" ID="lblInfo"></asp:Label></p>
                <center><asp:Button runat="server" ID="btnOK" Text="注册" onclick="btnOK_Click"/></center>
            </div>
        </form>
    </body>
</html>